package mystia.lorelei.app.entity;


import java.io.Serial;
import java.io.Serializable;

import lombok.Data;
import jakarta.persistence.*;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * (Activity)表实体类
 *
 * @author gy_fangtao
 * @since 2023-09-16 21:01:14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Entity
@Table(name = "activity")
public class Activity implements Serializable {
	@Serial
	private static final long serialVersionUID = -75775103019455827L;
	
	/**
	 * ID
	 */
	@Id
	@Column(name = "id")
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;
	
	/**
	 * 菜品ID
	 */
	@Column(name = "cuisine_id")
	private Integer cuisineId;
	/**
	 * 会员等级
	 */
	@Column(name = "require_grade")
	private Integer requireGrade;
	/**
	 * 积分
	 */
	@Column(name = "deplete_integration")
	private Integer depleteIntegration;
	/**
	 * 折扣
	 */
	@Column(name = "discount")
	private Double discount;
}

